<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>客户信息表</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" th:href="@{/static/css/public.css}" media="all">
    <link rel="stylesheet" th:href="@{/static/lib/layui-v2.8.4/css/layui.css}" media="all">
</head>
<body>
<div class="layuimini-container" style=" margin: 10px 10px 10px 10px">
    <div class="layui-row">
        <!-- 搜索 start-->
        <div class="layui-col-xs12 layui-col-md8">
            <div class="grid-demo grid-demo-bg1 layuimini-main">
                <fieldset class="table-search-fieldset" style="height: 130px">
                    <legend>搜索信息</legend>
                    <div style="margin: 10px 10px 10px 10px">
                        <form class="layui-form layui-form-pane" action="">
                            <div class="layui-form-item">
                                <div class="layui-inline">
                                    <label class="layui-form-label">用户账号</label>
                                    <div class="layui-input-inline">
                                        <input type="text" name="username" autocomplete="off"
                                               class="layui-input">
                                    </div>
                                </div>
                                <div class="layui-inline">
                                    <label class="layui-form-label">用户姓名</label>
                                    <div class="layui-input-inline">
                                        <input type="text" name="name" autocomplete="off"
                                               class="layui-input">
                                    </div>
                                </div>
                                <div class="layui-inline">
                                    <label class="layui-form-label">用户电话</label>
                                    <div class="layui-input-inline">
                                        <input type="text" name="phone" autocomplete="off" class="layui-input">
                                    </div>
                                </div>
                                <div class="layui-inline">
                                    <button type="submit" class="layui-btn layui-btn-primary" lay-submit
                                            lay-filter="data-search-btn"><i class="layui-icon"></i> 搜 索
                                    </button>
                                </div>
                            </div>
                        </form>
                    </div>
                </fieldset>
            </div>
        </div>
        <!-- 搜索end-->
        <!--功能区start-->
        <div class="layui-col-xs3 layui-col-md4">
            <div class="grid-demo grid-demo-bg1 layuimini-main">
                <fieldset class="table-search-fieldset" style="height: 130px">
                    <legend>功能区</legend>
                    <div style="margin: 10px 5px 10px 5px">
                        <form class="layui-form layui-form-pane" id="right-tool-btn-form">
                            <div class="layui-form-item">
                                <div class="layui-inline">
                                    <button type="button" class="layui-btn layui-btn-primary" lay-submit
                                            lay-filter="data-search-btn">导入数据
                                    </button>
                                </div>
                                <div class="layui-inline">
                                    <button class="layui-btn data-print-btn layui-btn-primary">打印</button>
                                </div>
                                <div class="layui-inline">
                                    <button class="layui-btn data-add-btn layui-btn-primary">新增</button>
                                </div>
                                <div class="layui-inline">
                                    <button class="layui-btn data-recover-btn layui-btn-primary">恢复</button>
                                </div>
                            </div>
                            <a id="downloadLink" href="#" style="float: right;color: dimgray">下载样表</a>
                        </form>
                    </div>
                </fieldset>
            </div>
        </div>
        <!--功能区end-->
        <!--用户表 start-->
        <div class="layui-col-xs6 layui-col-md12">
            <div class="grid-demo grid-demo-bg2" style="padding: 10px">
                <table class="layui-hide" id="test" lay-filter="test"></table>
            </div>
        </div>
        <!--用户表 end-->
    </div>
</div>
<script>
    let ctx = '[[${#httpServletRequest.getContextPath()}]]';
</script>
<script type="text/html" id="ID-table-demo-bar">
    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
</script>
<script th:src="@{/static/lib/jquery-3.4.1/jquery-3.4.1.min.js}" charset="utf-8"></script>
<script th:src="@{/static/lib/layui-v2.8.4/layui.js}" charset="utf-8"></script>
<script th:src="@{/static/service/userTable.js}"></script>
</body>
</html>